updated contouring