attempting better write