refactor. only store grams taken at an active location