add type conversion functions