have to convert to int for json