added pins and registers