add analyzer and writer