add dtype to UTPM and Function