add code forces  and PAT