helpers only on class types