solving assignment