working now
producing HTML too