added reset and randomize buttons