Errors on compile, simpler detect