added head cache