First prototype, only read and write scalar values