quick_open: first usable implementation