removes used code