split into views