triple input add works