use last time instead of now
randomize
getpnseed: coding