hard-coded weight replaced with onloader