506 Private method in python