sample code of dasp