added seed function and checker stuff