changed random to 1 - 5