updated code and removed old link