removed unneeded code, fixed broken link