Removed print statements and made ambient s[0] ionized