added halt command to pcmodule