added urls contexts and event join loop