got the links working with some awesome code