if mode=ljfour: input blacklj; elseif mode=cx: input blackcx; elseif mode=aps: input blackaps; fi