Added functionality to Views