attachment model added