Made nwr a signed integer.