fixing linking and doing new thing with date