el.classname selected instead of this. in new func