Use layeradd rather than ready/eachLayer