using prototype:checking