write basic autoreplier