add funtions format