learned pointers and classes