[PD] how to set variable types