add dispatch method that uses a path