up: improve performance using prototype pattern.