added to conditional; function for html