second attempt with line numbers