removed an uneccesary line in pins_controller