removed uilayer dependency