added line number functionality to master