lab 5 logic made