Flex code is done, but there might be some isuues