Dev 1.0

It is more recommended to use NSInteger than int
http://stackoverflow.com/questions/4445173/when-to-use-nsinteger-vs-int