Added seed generator method