handle floats in input
add sample output