still working on write methods