command line function added