clean up categories assignment, use years_since instead of day multiplication