Handling nested class problem by effectively ignoring it
Changed line number code to output number with the READ/WRITE