forgot to add layer.d