Use alexandria's flatten