{TAIL ~ a shake detection step} of detecting {HEAD ~ a shake} 
{ TAIL ~ a shake detection step } of detecting { HEAD ~ a shake }
TAIL TAIL TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD