weight integrated into submit controller