put statements in chat controller?;