pin model