fixed proto bug -- was accidentally extending the Object prototype