removed flatten from requirements, not working yet in L4