added categories and edit views