added changes to pins