adding wait loader