example using psteps