declare value formatting functions in options