fixes to lab #1