modified lab #2