add visited styling