add coffee and json mode