Changed db::execute to db::query