path to int