make use of prototype functions