Working! Just need to solve a random numbers problem