Fixed how random works