modified reverse int.