tweaked cache variable & added branch info