finish devide member function