auto-selects database entries