Better variable naming until I have a cleaner way to implement these flag checks