operators task 2 implemented