changed INT num of halt from 5 to 7