added a way to create a struct datatype