added line numbers, target, and error textarea