final lab1a design problem