some arithmetics added