Add my foreach snippet