validation tests:try to fix refactor no. 4