adding default definition for threshold property