refactoring of added line