enable dest as a function