checks for CLI