added plotrunif code