done. also, I renamed it to openOrSelect().