prototype for task 2 (not functional atm)