adding instance type to init methods