added custom types and standard types conversion