Some more work on DB requests logic;