daws function done.