added nested arrays to thurs