modified todo add attachment