making small changes to the seven segment driver