Removed irrelevant code