HLT test, run funct, better step funct and branch