switched integers to their enum equivalents