weight function articles