Added function declare. Still working on 1.1 assignment.