finished views functionality