annotated the attachment mananger and mapper