initial functions for controlling binary display