Changed return from array to html string