rewrite selectable a bit. stil incomplete though