change type returned