extended classapplier to support images