v0.5 add ward by categories