Add Halt and Init functions