closing implemsented