object function calculator added