lab5 now works