switched to using built in activity variable to figure out current stage in process