added new assignment code