first working version of feature add in category_edit (but still work in progress)