implements nice selects