Fixed seed function.