added Pythonic syntactic sugar