fixed size and remove. also made next and prev recursive.