tested lab2 and working