Code refactoring: added method one().
Code refactoring