diff --git a/HtmlNode.php b/HtmlNode.php
index 9649d37..1f47a4a 100644
--- a/HtmlNode.php
+++ b/HtmlNode.php
@@ -550 +550,10 @@ class HtmlNode
+ function first($selector, $idx = 0, $lowercase = false)
+ {
+ return $this->expect($selector, $idx, $lowercase)
95% of element lookups not for a list of elements are for the first element, so a convenience function seems warranted, so you don't have to add ", 0" constantly.
Missed semicolon and preformatting.