added year and month methods