added new constant
added simple calculation code (untested)