updated the initializer for produciton