to int and tostring