what's the reason for the 500ms delay here, exactly?