lab4 for CS032