modified data type from int to long