replace data with placeholders