added initializer for prod and dev