removed write statements left by mistake