inline method.