got task 2 working