Working part 3 of hw 3, need to add restler code