added nsassert