changed private interface @properties to use NSNumber instead of basic C types