Removed isAmbient. That was a stupid variable