removed erroneous code