adding typed_data and DateTime; fixing bugs