Made parameter to  event be the .path()