change all time unit to unsigned long
before going to BKK