note will be added if the category can't be found
date fix, was using integer math and overflowing so was subtracting