to decrease function overhead