add weight layer (work-in-progress)