Adding numerical port callback