change int to NSInteger