adapting to refinery blog post