A lot of great logic here to go with the one liners. I'll use it for reference.