modified month() to work with the new internal structure.