speedup creation of db objects