add readnextn to pss and map to ps
security etc added