Removed dependancy on lines ending with semicolon