lab03 for John Thomason