reverted to without property. use separate class or whatever
return HTML as string instead of printing it
renamed to render to be more consistent with other classes