adding wait for elements