Added path() function