added functionality in make_injtimes