added brightness optional parameter to printNumber