add average command