logic added to Path