add function on model berita