added relevant directives so it compiles again