command line and checks