add ability to seed through code