some debugging, added KISS prng