ai random is working