every param is in mircro seconds