lab2 seems to be working