delete code for attachment!