Removed erroneous code