index print callback