linking for forward lists is working