added float support