marik lab 5 implemented