adding forEach functions for more awesome code