Rename current num variable; add some comments