have a simple commandline function working