rudimentary random series generator