Addes a new function