ts quality
refactoring dbop