function in responsible efficiency