style caclulator and functions in calc