changed threshold command to memthreshold for better identification of what the command does.