updated deprecated methods
added views for inside/outside region