finished implementing categories