switching to Darran's function for oledison bool