reduce more code when not using efx