added the $.each back in, still not working, but not broken