Added another method for attachment