updated Lab 6