removed extraneous protoype function from survey object