added converrrtion from Int to Integer
added Digits type