validation tests:try to fix refactor no. 3