adding forEach to objects for easier access