made some changes to pins