considering db schema