make nytime ribbon code more compact by extending classes rather than reimplementing them