Fixing layer adding, changing example to better utilize current usecases.