added init on constructor