Added funtions.