Include <algorithm> to have access to replace function