Use a better method.
Improve execution speed by adding declarations.