added category field, added like function