waiting for views to be completed