send types as key value