improved chatkill logic