Flex still not completely working