Replace the parameter timeBegin and timeEnd with begin and end