should fix random number gen sucking?