commented out link and attachment code