factoring common years and code lint