temp. remove min and max because of an issue, this causes 0 values