flex compatibility