add AdHoc scheme, update makefile