added dal code and tests