Remove use of patterns (fix #50)

We can use lists :)