completing task 1 and linking code