Made functions const
Renamed itab