CSP1150: updated lab 10