added require(methods)