move implementation of ToInt
add parser for SKI.