Add function to show variable assignments