changing to toint