add headfirst python