added categories and rawtotheraw