methods now take the instance pointer, the class pointer, and the method name string