using aio, notice to use -ltr to compile