data type changed to long from int