we should raise an error here instead of returning it.