overloading function call operator

Perhaps more Pythonic?