method to add categories, type checks
updated readme