use equal? instead of eq? so it also works with lists