code state when alon left