related to the reducer pattern
Activity