task 6 with lookuperror