I updated this to be protected with getClass()