Added months_covered method
consolidated some code.