nss stuf added in deferred func