setData class and dbManager