added interrupt and timer to project1