basic petitions parser