re-ordered instructions
line count output