method added to View