some magic number removal in injector main