added div function