modifies prototype