works with basic types (int bool str)
add support for float32/64