Thanks to all who contributed!

Pradeep1210
I'm going to check out your code as well, no harm in learning something new.