avoid hardcoding database