problem 3 solved init