Added black() and white() functions