Completed ps4.py