database to representation in app done