auto mediation of views