Added string casting
Added float casting to fix issues