init updated to proper syntax