added weight controller and model