latest changes
changed to standard int type
ups