rewrote command line arguments, simple demo fig