before creating rake - refactoring code
refactoring code