added functionality to the views interface