Thanks very much .. but will sleep allow other parts of the code to execute if other events occur?