law functions