got command line arguements working