Change style in bit function