view.captures function

#267