adding .each do statment