lab3 for systems 1