change program_state to ps (way more readable)