updated putnbr

remember to check makefile flag