added end in pins controller line 53