working on saving selection