attach view