fragment test
refactor