restructure createSelect a bit