made access of views more functional