completed group assignment code