added pins and ability to manage them