added int type to nt parameter.