added alive_codes