you can use structs for that, check the examples in manual