nit: space after `foreach`