generalized some paths