Added initial category and name parameters to add