Fixed read/write for array and added operators