working on pins controller
pins view work