attachment changed to string