update constructor with some timing code and add command line arg