finished setting up the category editor