Removed Erroneous code