This is helpful in infinitely customizing Buffer content display based on modes, while also simplifying the code.