added debugging print statement to proto.py