add returns for views