improved checkbot example