why two empty lines? try and be consistent w.r.t. splitting cases and functions with empty lines