added nil limit