Class exercise task 1