50 logic update