started writing code for ps7