edit getContent to use a string