changed integer strings to unsigned long strings, as recommended by xcode 5.1.1