simplification of assign equal functions, add, subtract and multiply