balance calculation: checking only month, not the day; also added withdrawn-or-not check