Also set the proper parameter, use it in the db statement and use the propert DB object