adding get attachment