added interrupt handlers for more pins