Lab 2, parts 1 & 2