woo

developing an actual algorithm
try to fix detached head