help with simplifying code

Printable View