change sequence type from int to long