test refactored cont