add head method