First aproach to task 3