added head control