changed weights output function names because it annoyed me