layout for task 6 is ready, table event is added