Removes debug lines, and adds isaunit