testing for category