initial implementation of DAGA