making custom frameworks work