added pin model