basic read/write working...still much todo