First working version of select directive grouping and maybe few other featurs might not work