modif ruby callback