data type changed to match the given data