added basic float object
fixed a bug in set val, cleaned up debug messages