Added html mode