fix #1 index out of bond
simplified usage of callbacks
use ai also for humans