added description and removed old code