you dont use the $entity in the method as far as i can see? why is it passed?