removing rm statement