add PS and state