M6: finish task 1