remove unused/unnecessary code