lab3 initialization finished