wrote out init methods