removed first open/write