Implemented type conversion