improve current month salary function