callable from command line