added require statement to initializer