adding isub function, small isub program