doing it from command line