updated from int to long data types..and fixed regenerated code..