updated phone.py to work with original test