Can someone check this code to see If I could make it smaller

Printable View