Function defined added.