add codes for paths