learning by doing: DTL accepts funtions, OK