class View preparation