add methods for views