Assignment solution attempt 1

add code to stub functions