Starting code for PS1.