thread = { sleep = fn (milliseconds: int) none { SLEEP(milliseconds) } }