Replace is not the best way