added flatten as a comparison to concat

Signed-off-by: greenTara <taraathan@gmail.com>