init for lab2