arrays, some functions, some other stuff