Implement task 1