Changed std for default to remove deprecated warning