referencing db details from stack