adding freeze mechanics