trying to fix random