added arrays, structs and functions