added prime generator