Added html functionality