simplifying the initializer