use object prototype