new  code for ps11