zzz logic