integrating flatlab