added legal stuff