fixed typo for prototypal pattern