variable added, functions added

added all variables, added all fuctions, renamed operation function