Need to encode whole string here