implement number field