finished type up for lab3