Method A was completed with refactoring.