new inline method added