refactoring : only one statement per line