this will probably make the activity view slower.

In addition, the method signature now contains a whole bunch of variables that are never used.