Fixed enum, error checking