ClientInput calls the correct addfunction