read before attach; ok natano@