understanding spending patterns