Wrote div function.

Change-Id: Ied74be5e7bb11ca08c807be165fdfba6c8204f85