add object prototype