add market creation and output