legal applictions