headOption method