add constructors for Path