added a control for integers.