pass parameters on command line; learn parameters mode