reduce number of requires