rewrite to use create_resources so i can do everything in ENC