helper to create year categories