made callback method signature more precise