@flexispy: nice way to capture