Lab 3, finally done