avg and min added