updated view to have opts