added seeds and a few minor changes