updated syntax and included another homework submission