still wip, missing selection and collapsing