updated to use chosen as the select box