serailize db objects
thumbnail work