simulate compiled env