reverted wrong refactoring of unrefactored sample