changed Pin model
changed Pin model back