--changed int to long