added dataset freeze defnition