Feature attach head

I've had a detached head state.
These are my changes