need help to make my code flexible.

Printable View