Changed firstOption to headOption