#clamp-function