working through command line