fixed incorrect type conversion
add string literals
added float parsing
cleaned up source