removed function from prototype