updated interface file for output of weights