make lab5 work