Refactored out the shield and made its value continuous.

Here is an example of using modules.