master task 1 implemented