foreach with 365