add connect to db for retrieving arguments