Refactoring B rated method