put small medium large state changes into a service