history mask init