added accessor to change seed