adding spinner and event service