added type conversion