Need help simplifying code.

Printable View