Lab4_2 Beta (without testing)