Added selectDB