started looking at type classes