before changing things to longs