first stabs at the cad assignment