add discard random influence funtion