Category and Type swap