working on first db request error