first commit for lab 3 + some debugging