implemented line count 5