deleted some views and changed pins controller