added functions and changed functions in View & Model interfaces