made average method