deleted Irrelevant code