work on flexibility classes