cleanning and extending