created a select plugin for states