seperate db/types