working on __attachemnt