trying to get flex to work