Added ready for async_result. Added extra write_data