Changed code lab 1.