replacing to_f instead of returning 0