21 correction - inserted master and input_type options in main