added fill U and fill I functions