added floatVal to scanner