what are the legal obligations