implemented Category in print message