Refactoring monthlyRate