half-life updated to work with pynaa