enums would hopefully increase the readability of this code