CSP1150: finished lab 8