Revert type to int