adding freeze and example