Make the function changeOrdinal work