Implement rudimentary task 2 solution