change client to compileClient