public static function store()
 {
     $attributes = self::get_attributes();
     $split = new Split($attributes);
     $participant = Participant::find($split->participant_id);
     self::check_admin_or_recorder_logged_in($participant->competition_id);
     $competition_id = Competition::find($participant->competition_id)->id;
     $errors = $split->validate_split_time();
     if (count($errors) == 0) {
         $split->save();
         Participant::update_competition_standings($competition_id);
         Redirect::to('/competition/' . $competition_id . '/splits', array('message' => 'Väliaika lisätty.'));
     } else {
         self::creation_view($participant, $attributes, $errors);
     }
 }