implemented total result