Changed getpapers to accept string