proper usage of post_compile