attempt 2 at line ending fix