added tables pull, deleted output method from total spend