changed to use variables for DB info