Is there any way to improve this code?

Printable View