decode the PS1