beef up forEach section, add epilogue