Changed to enum