corrected some targets and added the setCategory