Continue debug with DB manipulation. Started hardcoding the SQL queries