fixing random. I hope