help making code more concise and shorter

Printable View