Added Some Logs to se whats happening in conversion of category