Deleted irrelevant code