cleaned up and documented likely_compile