compiled safely