not changing mode within method.
checked with 10.5