Pulled out UIvisitor to private class