updated styling, fixed array randomizer