generalized all paths - only to vars to change now