remove semicolon by restyling for comprehension