Implemented extra task 1