just making it more python like