Added compound function, formatting