addition function creation