die: initial implementation